home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4338 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  927 b 

  1. Path: malin.foa.se!usenet
  2. From: Roger Holmquist <roghol@lin.foa.se>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Recursive function -> how do you exit one?
  5. Date: 3 Feb 1996 19:02:43 GMT
  6. Organization: FOA
  7. Message-ID: <4f0bgj$2gd@malin.foa.se>
  8. References: <4eh1g8$aba@pulp.ucs.ualberta.ca> <4ejbf0INN2b3@keats.ugrad.cs.ubc.ca> <310EB116.11E@microsports.com>
  9. NNTP-Posting-Host: rogholh.lin.foa.se
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: quoted-printable
  13. X-Mailer: Mozilla 1.12(Macintosh; I; 68K)
  14. X-URL: news:310EB116.11E@microsports.com
  15.  
  16. Well, my friend, your recursive function seem to work
  17. very fine because your return statement has to be 
  18. executed several times IF it really IS a recusive 
  19. function AND if you don't have more than ONE return 
  20. statement!
  21. (If you call yourself you also have to return to 
  22. yourself!)
  23. If this doesn=A5t work, call your compiler vendor!
  24. Greetings Roger
  25.  
  26.  
  27.